<?php

/**
 * params.php
 */

$paramsCommonFile = ROOT .  DIRECTORY_SEPARATOR . 'common' . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'params.php';

$paramsCommonArray = file_exists($paramsCommonFile) ? require($paramsCommonFile) : array();

return CMap::mergeArray(
    $paramsCommonArray,
    array(
        'url.format' => 'path',
        //'url.showScriptName' => false,
        'url.rules' => array(
            /* for REST please @see http://www.yiiframework.com/wiki/175/how-to-create-a-rest-api/ */
            /* other @see http://www.yiiframework.com/doc/guide/1.1/en/topics.url */
            '' => 'dashboard/index',
            '<_c>'=>'<_c>',
            '<_c>/<_a>'=>'<_c>/<_a>',
            '<module>/<_c>/<_a>' => '<module>/<_c>/<_a>'
        ),
        
        'pageSize' => 20
    )

);